const db = uniCloud.database()

exports.main = async (event, context) => {
  try {
    const res = await db.collection('Commemoration').get()
    return res.data
  } catch (error) {
    return { error: error.message }
  }
}